package com.hp.java09_springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("page")
public class PageController {

    @RequestMapping("{page}.html")
    public String page(@PathVariable("page")String page){
        return page;
    }
}
